﻿@model PhoneBilling.Models.SliceEditModel
@{
    ViewBag.Title = "分段计费表编辑";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm())
{ 
    <div >
        <div class="input-text">
             @Html.LabelFor(m => m.ID)
@{
    if (Model.IsNew)
    {
             @Html.TextBoxFor(m => m.ID)
             @Html.ValidationMessageFor(m => m.ID, new { style = "color:Red" })
    }
    else
    { 
             @Html.DisplayFor(m => m.ID)
    }
}
             
        </div>
        <div class="input-text">
             @Html.LabelFor(m => m.Name)
             @Html.TextBoxFor(m => m.Name)
             @Html.ValidationMessageFor(m => m.Name, new { style = "color:Red" })
        </div>
         <div class="input-text">
             @Html.LabelFor(m => m.Remark)
             @Html.TextBoxFor(m => m.Remark)
             @Html.ValidationMessageFor(m => m.Remark, new { style = "color:Red" })
        </div>
        <p class="submit">
            <input type="submit" value="确定" class="input-submit" />
        </p>
    </div>
}
